﻿/* Common styles for MForm */

html,
body
{
	width: 100%;
	height: 100%;
	border: 0;
	margin: 0;
	padding: 0;
}

a 
{
	border-bottom: 1px solid #99B2CC;
	color: #369;	
	text-decoration: none;
}

a:hover 
{
	border-bottom-color: #369;
}
 
.MForm-El 
{
	overflow: auto;
	clear: right;
}

.MForm-Own .MForm-Own  
{
	margin-left: 2em;
}

input[type='submit'],
input[type='button'] 
{
	font-size: 0.9em;
	font-weight: bold;
	padding: 0.5em 0.7em;
	margin: 0.5em;
	text-transform: uppercase;
	cursor: pointer;
	color: #369;
	border:1px solid #C1D1E0;
	background: #F8F8F8 url("../Images/shade.png") repeat-x scroll left top;
	-moz-border-radius:5px;
    -moz-box-shadow:0 2px 5px #EAEFF5;
    -webkit-border-radius:5px;
    -webkit-box-shadow:0 2px 5px #EAEFF5;
    border-radius:5px;
    box-shadow:0 2px 5px #EAEFF5;
    
}

input[type='submit']:hover,
input[type='button']:hover 
{
    
    background: #fff none;
}

.AD
{
	display: none;
}

/* menu buttons - set width for .menu_buttons, or it will expand accordingly to the parent's width or the widest child */

.menu_buttons
{
	background:#F8F8F8 url(../Images/shade.png) repeat-x scroll left top;
	border:1px solid #EFEFEF;
	margin:0;
	padding:0;

}

.menu_buttons .SubMenu 
{
	color: #4685C4;
	display:block;
	font-size: 0.9em;
	padding:5px 5px 0 5px;
	text-align:center;
	text-transform:uppercase;
}

.menu_buttons .Add 
{
	background: #f8f8f8 url(../Images/shade.png) repeat-x scroll left top;
	border: 1px solid #e8e8e8;
	margin: 5px;
}

.menu_buttons .Add a
{
	background:transparent url(../Images/add11.gif) no-repeat scroll 5px center;
	border:0 none;
	display:block;
	font-size:0.9em;
	font-weight:bold;
	padding:0.5em 0.5em 0.5em 20px;
	overflow: hidden;
}

.menu_buttons .Add a:hover 
{
	background-color: #fff;
	color: #555;
}

.Section:after,
.SectionContent:after 
{
	clear: both;
	display:block;
	height:0;
	content:".";
	visibility: hidden;
}

.MForm-Btn 
{
	display: inline-block;
	width: 12px;
	height: 12px;
	vertical-align: middle;
	text-decoration: none;
	border: 0;
	cursor:pointer;
	margin: 0 5px;
	background: transparent url(../Images/MFormBtns.gif) no-repeat 0 0;
	line-height:0;
	font-size: 0;
}
.MForm-Btn:hover 
{
	background-color: #fff;
}

.MForm-CloseBtn 
{
	background-position: 0 -12px;
}

.MForm-ToggleUpBtn 
{
	background-position: -12px 0;
}

.MForm-ToggleDownBtn 
{
	background-position: -12px -12px;
}
